manage_{$this->screen->id}_custom_column_js_template
Action HookDescription
Fires in the JavaScript row template for each custom column in the Application Passwords list table. Custom columns are registered using the {@see 'manage_application-passwords-user_columns'} filter.Hook Information
File Location |
wp-admin/includes/class-wp-application-passwords-list-table.php
View on GitHub
|
Hook Type | Action |
Line Number | 251 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$column_name
|
Name of the custom column. |
Usage Examples
Basic Usage
<?php
// Hook into manage_{$this->screen->id}_custom_column_js_template
add_action('manage_{$this->screen->id}_custom_column_js_template', 'my_custom_function', 10, 1);
function my_custom_function($column_name) {
// Your custom code here
}
Source Code Context
wp-admin/includes/class-wp-application-passwords-list-table.php:251
- How this hook is used in WordPress core
<?php
246 *
247 * @since 5.6.0
248 *
249 * @param string $column_name Name of the custom column.
250 */
251 do_action( "manage_{$this->screen->id}_custom_column_js_template", $column_name );
252 break;
253 }
254
255 if ( $is_primary ) {
256 echo '<button type="button" class="toggle-row"><span class="screen-reader-text">' .
PHP Documentation
<?php
/**
* Fires in the JavaScript row template for each custom column in the Application Passwords list table.
*
* Custom columns are registered using the {@see 'manage_application-passwords-user_columns'} filter.
*
* @since 5.6.0
*
* @param string $column_name Name of the custom column.
*/
Quick Info
- Hook Type: Action
- Parameters: 1
- File: wp-admin/includes/class-wp-application-passwords-list-table.php
Related Hooks
Related hooks will be displayed here in future updates.